#parse("admin/inc/goodsleft.html")

<script type="text/javascript"
	src="$thiscontextpath/ckfinder/ckfinder.js">
</script>


<div id="center-column">
	<div class="top-bar">
		<a href="new" class="button">增加 品牌 </a>
		<h1>
			Contents
		</h1>
		<div class="breadcrumbs">
			<a href="#">Homepage</a> /
			<a href="#">Contents</a>
		</div>
	</div>
	<br />
	<div class="select-bar">

	</div>
	<div class="table">
		<img src="img/bg-th-left.gif" width="8" height="7" alt="" class="left" />
		<img src="img/bg-th-right.gif" width="7" height="7" alt=""
			class="right" />
		<table class="listing form" cellpadding="0" cellspacing="0">
			<form name="addbrand" id="addbrand" method="post" action="save">
				<tr>
					<th class="full" colspan="2">
						增加项
					</th>
				</tr>
				<tr>
					<td class="first" width="172">
						<strong>品牌名称</strong>
					</td>
					<td class="last">
						<INPUT type="text" class=text name=brandName>
					</td>
				</tr>
<script type="text/javascript">

function BrowseServer(inputId) {
	var finder = new CKFinder();
	finder.basePath = '../ckfinder/'; //导入CKFinder的路径
	finder.selectActionFunction = SetFileField; //设置文件被选中时的函数
	finder.selectActionData = inputId; //接收地址的input ID
	finder.popup();
}

//文件选中时执行
function SetFileField(fileUrl, data) {
	document.getElementById(data["selectActionData"]).value = fileUrl;
}
</script>


				<tr>
					<td class="first"">
						<strong>品牌图标</strong>
					</td>
					<td class="last">
						<input id="brandLogo" name="brandLogo" type="text" size=40/>
						<input type="button" value="浏览图片"
							onclick="BrowseServer( 'brandLogo' );" />


					</td>
				</tr>
			 
				<tr>
					<td class="first"">
						<strong>品牌网址</strong>
					</td>
					<td class="last">
						<input type="text" class="text" name=brandUrl />
					</td>
				</tr>
				<tr>
					<td class="first"">
						<strong>品牌状态</strong>
					</td>
					<td class="last">
						<select style="width: 65%" name="brandIsshow">
							<option value='1'>
								有效
							</option>
							<option value='0'>
								无效
							</option>
						</select>
					</td>
				</tr>

				<tr>
					<td class="first"">
						<strong>品牌描述</strong>
					</td>
					<td class="last">
						 	<textarea id="TextArea1" cols="75" rows="8" name="brandDesc"></textarea> 
					</td>
				</tr>



				<tr>
					<td>
						<input type="submit" value="保 存" />
			</form>
			</td>
			</tr>
		</table>
		<p>
			&nbsp;
		</p>
	</div>
</div>
<div id="right-column">
	<strong class="h">INFO</strong>
	<div class="box">
		Detect and eliminate viruses and Trojan horses, even new and unknown
		ones. Detect and eliminate viruses and Trojan horses, even new and
	</div>
</div>
</div>
<div id="footer"></div>
</div>


</body>
</html>
